/* Layout */
* {
    margin: 0;
    padding: 0;
    text-align: justify;
    font-family: Georgia, Serif;
}

body {
    background-color: white;

}
footer {
    text-align:center;
    display: block;
    width: 100%;
    float:left;
}

h1 {
    display: block;
    padding: 0 0 0 0;
    margin: 0 0 0 0;
    text-transform: uppercase;
    text-align:center;
}
h2{
    text-align: left;
}

label {
    text-transform: uppercase;
    margin: 2px 8px;
    font-weight: bold;
    display: block;
    width: 90%;
    padding: 10px 5px 2px;
    color: white;
}
label[for=valence] {
    color: #40FF00;
}
label[for=arousal] {
    color: #FF0000;
}

textarea {
    width: 96%;
	height: 75%;
	border: 3px solid #f2f2f2;
	padding: 5px;
    margin: 2px 8px;
    text-align:left;
    resize: none;
    background: #e6e6e6;
    color: black;
}

cite {
    display: block;
    padding: 10px 10px 10px 10px;
    text-align: left;
}
.wrap {
    width: 100%;
    height: 100%;
    padding: 0;
    margin: 0;
    border: 5px solid black;
    background-color: #1C1C1C;
    border-radius: 10px;
}
.interface {
    margin-left: 50%;
}
.bottom {
    margin-left: auto;
    text-align: center;
    font-size: 80%;
}
.title {
    display: block;
    background-color: #000000;
    text-align: center;
    color: white;
    border-color: black;
    padding:10px;
    font-size: 200%;
}
.title-left {
    text-transform: uppercase;
    float:left;
    text-align: center;
    width:50%;
}
.title-right {
    text-align: center;
    margin-left: 50%;
    width:50%;
}
.div-left{
    float:left;
    width:50%;
}
.div-right{
    margin-left: 50%;
    width:50%;
}
.frame {
    float: left;
    width: 50%;
    height: 50%;
}
.frame_number {
    display: inline-block;
    color:white;
}

.frame img {
    text-align: center;
    max-height:85%;
    width: 70%;
    display:block;
    margin: auto;
    border-radius: 10px;
    border: 3px solid #999999;
}
.center {
    text-align: center;
    margin: auto;
}
:focus {
    outline: 5px;
    border: 3px solid #2EFEF7;
    border-radius: 9px;
    outline: none;
    box-shadow: 0 2px 10px #2EFEF7;
}

/* buttons */
button {
    background-color: #333333;
    border: none;
    color: white;
    padding: 15px 30px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 1px 1px;
    -webkit-transition-duration: 0.4s; /* Safari */
    transition-duration: 0.4s;
    cursor: pointer;
}
button.menu {
    width: 60%;
    background-color: #99ccff;
    color:black;
}
.submit {
    text-align: center;
    background-color: #055005;
    width: 32%;
    padding: auto auto auto auto;
}
.reset {
    text-align: center;
    background-color: #640606;
    width: 98%;
    margin: 2px 8px;
    padding: auto auto auto auto;
}
.check {
    text-align: center;
    width: 98%;
    background-color: #643106;
    margin: 2px 8px;
    padding: auto auto auto auto;
}
.pair {
    width: 45%;
    margin: 2px 8px;
}
.red {background-color: #8b0000;}
.green {background-color: green;}
.fullsize {width: 98%;}
.halfsize {width: 50%;}



/* number input */
input[type="number"] {
    margin: 5px 5px 5px 5px;
    border: 3px solid #BBB;
    border-color: #BBB #ECECEC #ECECEC #BBB;
    padding: .2rem;
    height: 15px;
}



/* Nav-bar */
#navbar-list {
    width: 100%;
    height: 40px;
    list-style-type: none;
    display: block;
    background-color: #3d3d3d;
}

li.nav {
    float: left;
    text-align: left;
    display: inline-block;
    margin-top: 5px;
    color: #fff;
    font-size: 20px;
    margin-left: 25px;
    border-radius: 5px;
    cursor: pointer;
}

.nav-hoover:hover {
    background-color: #808080;
}

ul .navbar-list {
    position: fixed;
}

li.nav a {
    color: white;
}

li.nav {
    text-align: center;
    color: white;
}


/* Change the link color on hover */
li.nav a:hover {
    color: white;
}




/* slider */
input[type=range] {
  -webkit-appearance: none;
  width: 85%;
  margin: 13.8px 0;
}
input[type=range]:focus {
  outline: none;
}
input[type=range]::-webkit-slider-runnable-track {
  width: 100%;
  height: 8.4px;
  cursor: pointer;
  box-shadow: 1px 1px 1px #000000, 0px 0px 1px #0d0d0d;
  background: #3071a9;
  border-radius: 1.3px;
  border: 0.2px solid #010101;
}
input[type=range]::-webkit-slider-thumb {
  box-shadow: 1px 1px 1px #000000, 0px 0px 1px #0d0d0d;
  border: 1px solid #000000;
  height: 36px;
  width: 16px;
  border-radius: 3px;
  background: #ffffff;
  cursor: pointer;
  -webkit-appearance: none;
  margin-top: -14px;
}
input[type=range]:focus::-webkit-slider-runnable-track {
  background: #367ebd;
}
input[type=range]::-moz-range-track {
  width: 100%;
  height: 8.4px;
  cursor: pointer;
  box-shadow: 1px 1px 1px #000000, 0px 0px 1px #0d0d0d;
  background: #3071a9;
  border-radius: 1.3px;
  border: 0.2px solid #010101;
}
input[type=range]::-moz-range-thumb {
  box-shadow: 1px 1px 1px #000000, 0px 0px 1px #0d0d0d;
  border: 1px solid #000000;
  height: 36px;
  width: 16px;
  border-radius: 3px;
  background: #ffffff;
  cursor: pointer;
}
input[type=range]::-ms-track {
  width: 100%;
  height: 8.4px;
  cursor: pointer;
  background: transparent;
  border-color: transparent;
  color: transparent;
}
input[type=range]::-ms-fill-lower {
  background: #2a6495;
  border: 0.2px solid #010101;
  border-radius: 2.6px;
  box-shadow: 1px 1px 1px #000000, 0px 0px 1px #0d0d0d;
}
input[type=range]::-ms-fill-upper {
  background: #3071a9;
  border: 0.2px solid #010101;
  border-radius: 2.6px;
  box-shadow: 1px 1px 1px #000000, 0px 0px 1px #0d0d0d;
}
input[type=range]::-ms-thumb {
  box-shadow: 1px 1px 1px #000000, 0px 0px 1px #0d0d0d;
  border: 1px solid #000000;
  height: 36px;
  width: 16px;
  border-radius: 3px;
  background: #ffffff;
  cursor: pointer;
  height: 8.4px;
}
input[type=range]:focus::-ms-fill-lower {
  background: #3071a9;
}
input[type=range]:focus::-ms-fill-upper {
  background: #367ebd;
}


/* help window */
.modalDialog {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background: rgba(0,0,0,0.8);
	z-index: 99999;
	opacity:0;
	-webkit-transition: opacity 400ms ease-in;
	-moz-transition: opacity 400ms ease-in;
	transition: opacity 400ms ease-in;
	pointer-events: none;
}
.modalDialog:target {
	opacity:1;
	pointer-events: auto;
}
.modalDialog > div {
	width: 400px;
	position: relative;
	margin: 10% auto;
	padding: 5px 20px 13px 20px;
	border-radius: 10px;
	background: #fff;
	background: -moz-linear-gradient(#fff, #999);
	background: -webkit-linear-gradient(#fff, #999);
	background: -o-linear-gradient(#fff, #999);
}
.close {
	background: #606061;
	color: #FFFFFF;
	line-height: 25px;
	position: absolute;
	right: -12px;
	text-align: center;
	top: -10px;
	width: 24px;
	text-decoration: none;
	font-weight: bold;
	-webkit-border-radius: 12px;
	-moz-border-radius: 12px;
	border-radius: 12px;
	-moz-box-shadow: 1px 1px 3px #000;
	-webkit-box-shadow: 1px 1px 3px #000;
	box-shadow: 1px 1px 3px #000;
}
.close:hover { background: #00d9ff; }